<?php

//debug
error_reporting( E_ALL & ~E_NOTICE );
ini_set('display_errors', '1'); 

date_default_timezone_set("PRC");

// charset
define('DOU_CHARSET','utf-8');
// administrator path
define('ADMIN_PATH','app_admin');
// mobile path
define('M_PATH','m');
//
define('SITE_IP','xunda.moredesignstudio.cn');

//admin domain Config
//$admin_domain_conf = array('192.168.187.128');


//MYSQL Config
$dbhost   = "127.0.0.1";
$dbname   = "xunda";
$dbuser   = "root";
$dbpass   = "Helloworld123";
$prefix   = "fa_";
$dbcharset = 'utf8mb4';
//REDIS Config
//$rdshost = '127.0.0.1';
//$rdsport = 6379;

//WEB Config
$site_url = 'http://'.SITE_IP.'/';
$api_url  = 'http://'.SITE_IP.'/';
$img_url  = 'http://'.SITE_IP.'/';
$cdn_url = 'tpl/';

//LIVE api Config
$live_conf = array(
	'userId'=>'189681',
	'secretKey'=>'9755552475650d3d086cf20f80dbdbd3'
);

//登录持续时间
$login_lifetime = 3600*24;

//加载公共函数
require 'common.php';
